#include "xSocket.h"
#include <QtCore/QString>
#include <xTitanClient/xTitan.hpp>

xSocket::~xSocket(void)
{
}

xSocket::xSocket( SOCKET s ): Socket(s){
}

std::string xSocket::_receiveLine( std::string receiver ){
	std::string result = Socket::_receiveLine(receiver);	
	QString msg = QString("%1%2").arg(receiver.c_str()).arg(result.c_str());
	xRawCommand(XTITAN_SOCKET, QVariant(msg));
	xCheck(QString::fromStdString(result));
	return result;
}


